// App.jsx
import React, { Fragment, useContext, useReducer } from 'react';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';
import 'antd/dist/antd.css';


import {
    HashRouter as Router,
  } from "react-router-dom";


import Top from './components/Top';
import Content from './components/Content';
import Player from './components/Player';

import { PlayerStoreProvider } from '@/components/Player/store'

function App() {
  return (
    <Fragment>
      <ConfigProvider locale={zhCN}>
      <PlayerStoreProvider>
        <Router>
            <Top />
            <Content />
            <Player/>
        </Router>
        </PlayerStoreProvider>
      </ConfigProvider>
    </Fragment>
  );
}

export default App;
